<template>
  <div class="header" :style="{ 'background-color': bgcolor, color: color }">
    {{ title }}
  </div>
</template>

<script>
export default {
  name: 'MyHaeder',
  props: ['title', 'color', 'bgcolor'],
  data() {
    return {
      // bgcolor: this.Bgcolor,
      // color: this.Color,
      // title: this.Title
    }
  }
}
</script>

<style lang="less">
.header {
  margin: 0 auto;
  display: fixed;
  height: 50px;
  width: 500px;
  // background-color: #1b7af6;
  text-align: center;
  line-height: 50px;
  // color: #fff;
}
</style>
